#include<stdio.h>
int main()
{
	int  i = 1, j = 2, w = 0,
	k = 3,  n = 10;
	printf("1 2 ");
	for (k = 3; k <= n; k++)
	{
		w = i + j;
		i = j;
		j = w;
		printf("%d ", w);
	}
	return 0;
}
